
<!DOCTYPE HTML>
<html lang="zh" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>生成电子书和PDF · gitbook-official</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        <meta name="author" content="snowdreams1006">
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="https://unpkg.com/gitalk/dist/gitalk.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
        <link rel="stylesheet" href="styles/website.css">
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="templating/" />
    
    
    <link rel="prev" href="syntax/asciidoc.html" />
    

    <style>
    @media only screen and (max-width: 640px) {
        .book-header .hidden-mobile {
            display: none;
        }
    }
    </style>
    <script>
        window["gitbook-plugin-github-buttons"] = {"buttons":[{"user":"snowdreams1006","repo":"gitbook-official","type":"star","size":"small"}]};
    </script>

    
        <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
    
    
        <link rel="bookmark" href="/bookmark.ico" type="image/x-icon">
    
    
        <link rel="apple-touch-icon" sizes="152x152" href="/apple-touch-icon-152.png">
    
    
        <link rel="apple-touch-icon-precomposed" sizes="152x152" href="/apple-touch-icon-precomposed-152.png">
    
    
        
        <link rel="apple-touch-icon" sizes="120x120" href="/apple-touch-icon-120.png">
        
        <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon-180.png">
        
    
    
        
        <link rel="apple-touch-icon-precomposed" sizes="120x120" href="/apple-touch-icon-precomposed-120.png">
        
        <link rel="apple-touch-icon-precomposed" sizes="180x180" href="/apple-touch-icon-precomposed-180.png">
        
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="輸入並搜尋" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    
    
        
        <li>
            <a href="https://snowdreams1006.tech/" target="_blank" class="custom-link">blog</a>
        </li>
    
    

    
    <li class="divider"></li>
    

    
        
        <li class="header">入门</li>
        
        
    
        <li class="chapter " data-level="1.1" data-path="./">
            
                <a href="./">
            
                    
                    关于本文档
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="setup.html">
            
                <a href="setup.html">
            
                    
                    安装和设置
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">基础</li>
        
        
    
        <li class="chapter " data-level="2.1" data-path="structure.html">
            
                <a href="structure.html">
            
                    
                    目录结构
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2" data-path="pages.html">
            
                <a href="pages.html">
            
                    
                    菜单与页面
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3" data-path="config.html">
            
                <a href="config.html">
            
                    
                    配置
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.4" data-path="lexicon.html">
            
                <a href="lexicon.html">
            
                    
                    词汇表
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.5" data-path="languages.html">
            
                <a href="languages.html">
            
                    
                    多语言
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.6" data-path="syntax/markdown.html">
            
                <a href="syntax/markdown.html">
            
                    
                    Markdown语法
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.7" data-path="syntax/asciidoc.html">
            
                <a href="syntax/asciidoc.html">
            
                    
                    AsciiDoc语法
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="2.8" data-path="ebook.html">
            
                <a href="ebook.html">
            
                    
                    生成电子书和PDF
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">定制</li>
        
        
    
        <li class="chapter " data-level="3.1" data-path="templating/">
            
                <a href="templating/">
            
                    
                    模板
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="3.1.1" data-path="templating/conrefs.html">
            
                <a href="templating/conrefs.html">
            
                    
                    内容引用
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.1.2" data-path="templating/variables.html">
            
                <a href="templating/variables.html">
            
                    
                    变量
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.1.3" data-path="templating/builtin.html">
            
                <a href="templating/builtin.html">
            
                    
                    Builtin模板助手
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="3.2" data-path="plugins/">
            
                <a href="plugins/">
            
                    
                    插件
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="3.2.1" data-path="plugins/create.html">
            
                <a href="plugins/create.html">
            
                    
                    创建插件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.2.2" data-path="plugins/hooks.html">
            
                <a href="plugins/hooks.html">
            
                    
                    回调函数
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.2.3" data-path="plugins/blocks.html">
            
                <a href="plugins/blocks.html">
            
                    
                    块
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.2.4" data-path="plugins/filters.html">
            
                <a href="plugins/filters.html">
            
                    
                    过滤器
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.2.5" data-path="plugins/api.html">
            
                <a href="plugins/api.html">
            
                    
                    API＆Context
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.2.6" data-path="plugins/testing.html">
            
                <a href="plugins/testing.html">
            
                    
                    测试你的插件
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="3.3" data-path="themes/">
            
                <a href="themes/">
            
                    
                    主题
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">插件开发</li>
        
        
    
        <li class="chapter " data-level="4.1" data-path="api/">
            
                <a href="api/">
            
                    
                    插件简介
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="4.1.1" data-path="api/node.html">
            
                <a href="api/node.html">
            
                    
                    节点API
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.1.2" data-path="api/connect.html">
            
                <a href="api/connect.html">
            
                    
                    连接到上下文
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.1.3" data-path="api/components.html">
            
                <a href="api/components.html">
            
                    
                    组件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.1.4" data-path="api/i18n.html">
            
                <a href="api/i18n.html">
            
                    
                    国际化
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.1.5" data-path="api/navigation.html">
            
                <a href="api/navigation.html">
            
                    
                    导航
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    
        
        <li class="divider"></li>
        
        
    
        <li class="chapter " data-level="5.1" data-path="contributing.html">
            
                <a href="contributing.html">
            
                    
                    参与贡献
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.2" data-path="faq.html">
            
                <a href="faq.html">
            
                    
                    常见问题
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.3" data-path="examples.html">
            
                <a href="examples.html">
            
                    
                    示例
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.4" >
            
                <a target="_blank" href="https://github.com/GitbookIO/gitbook/blob/master/CHANGES.md">
            
                    
                    发行说明
            
                </a>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            本書使用 GitBook 釋出
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="." >生成电子书和PDF</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
<div id="vip-container">
    <h1 id="&#x751F;&#x6210;&#x7535;&#x5B50;&#x4E66;">&#x751F;&#x6210;&#x7535;&#x5B50;&#x4E66;</h1>
<p>GitBook&#x4E0D;&#x4EC5;&#x53EF;&#x4EE5;&#x751F;&#x6210;&#x9759;&#x6001;&#x7F51;&#x7AD9;&#xFF0C;&#x4E5F;&#x53EF;&#x4EE5;&#x5C06;&#x5185;&#x5BB9;&#x8F93;&#x51FA;&#x4E3A;&#x7535;&#x5B50;&#x4E66;(ePub&#xFF0C;Mobi&#xFF0C;PDF)&#x683C;&#x5F0F;&#x3002;</p>
<pre><code>&#xFF03;&#x751F;&#x6210;PDF&#x6587;&#x4EF6;
$ gitbook pdf ./ ./mybook.pdf

&#xFF03;&#x751F;&#x6210;ePub&#x6587;&#x4EF6;
$ gitbook epub ./ ./mybook.epub

&#xFF03;&#x751F;&#x6210;Mobi&#x6587;&#x4EF6;
$ gitbook mobi ./ ./mybook.mobi
</code></pre><h3 id="&#x5B89;&#x88C5;ebook-convert">&#x5B89;&#x88C5;ebook-convert</h3>
<p><code>ebook-convert</code>&#x662F;&#x751F;&#x6210;&#x7535;&#x5B50;&#x4E66;&#x6240;&#x5FC5;&#x9700;&#x7684;(epub&#xFF0C;mobi&#xFF0C;pdf)&#x63D2;&#x4EF6;&#x3002;</p>
<h5 id="linux&#x7CFB;&#x7EDF;">Linux&#x7CFB;&#x7EDF;</h5>
<p>&#x5B89;&#x88C5;<a href="https://calibre-ebook.com/download" target="_blank">Caliber&#x5E94;&#x7528;&#x7A0B;&#x5E8F;</a>&#x3002;</p>
<pre><code class="lang-bash">$ sudo aptitude install calibre
</code></pre>
<p>&#x5728;&#x67D0;&#x4E9B;Linux&#x53D1;&#x884C;&#x7248;&#x4E2D;&#x5B89;&#x88C5;nodejs&#xFF0C;&#x60A8;&#x8FD8;&#x9700;&#x8981;&#x624B;&#x52A8;&#x521B;&#x5EFA;&#x4E00;&#x4E2A;nodejs&#x8F6F;&#x94FE;&#x63A5;&#xFF1A;</p>
<pre><code class="lang-bash"><span class="hljs-variable">$sudo</span> ln <span class="hljs-_">-s</span> /usr/bin/nodejs /usr/bin/node
</code></pre>
<h5 id="&#x82F9;&#x679C;os-x&#x7CFB;&#x7EDF;">&#x82F9;&#x679C;OS X&#x7CFB;&#x7EDF;</h5>
<p>&#x4E0B;&#x8F7D;<a href="https://calibre-ebook.com/download" target="_blank">Caliber&#x5E94;&#x7528;&#x7A0B;&#x5E8F;</a>&#x3002;&#x5C06;<code>calibre.app</code>&#x79FB;&#x52A8;&#x5230;&#x60A8;&#x7684;&#x5E94;&#x7528;&#x7A0B;&#x5E8F;&#x6587;&#x4EF6;&#x5939;&#x540E;&#xFF0C;&#x521B;&#x5EFA;&#x4E00;&#x4E2A;&#x6307;&#x5411;ebook-convert&#x5DE5;&#x5177;&#x7684;&#x8F6F;&#x4EF6;&#x94FE;&#x63A5;&#xFF1A;</p>
<pre><code class="lang-bash">$ sudo ln <span class="hljs-_">-s</span> /Applications/calibre.app/Contents/MacOS/ebook-convert /usr/bin
</code></pre>
<p>&#x8FD9;&#x6837;&#x5C31;&#x53EF;&#x4EE5;&#x5728;&#x4EFB;&#x4F55;&#x76EE;&#x5F55;&#x4E0B;&#x6267;&#x884C;&#x76EE;&#x5F55;&#x6267;&#x884C;<code>ebook-convert</code>&#x547D;&#x4EE4;&#x3002;</p>
<p>&#x5982;&#x679C;&#x51FA;&#x73B0;<code>Operation not permitted</code>&#x5F02;&#x5E38;&#xFF0C;&#x8BF4;&#x660E;&#x7CFB;&#x7EDF;&#x6743;&#x9650;&#x9650;&#x5236;&#xFF0C;&#x9700;&#x8981;&#x914D;&#x7F6E;&#x73AF;&#x5883;&#x53D8;&#x91CF;&#x7684;&#x65B9;&#x5F0F;&#x89E3;&#x51B3;</p>
<pre><code class="lang-bash">$ sudo ln <span class="hljs-_">-s</span> /Applications/calibre.app/Contents/MacOS/ebook-convert /usr/bin
ln: /usr/bin/ebook-convert: Operation not permitted
</code></pre>
<p>&#x73AF;&#x5883;&#x53D8;&#x91CF;&#x914D;&#x7F6E;</p>
<p>&#x5148;&#x542F;&#x52A8;ebook-convert&#x5B8C;&#x6210;&#x7B2C;&#x4E00;&#x6B21;&#x542F;&#x52A8;&#x914D;&#x7F6E;&#xFF0C;&#x7136;&#x540E;&#x5173;&#x95ED;&#x3002;&#x63A5;&#x7740;&#x5728;&#x547D;&#x4EE4;&#x884C;&#x7A97;&#x53E3;&#x4FEE;&#x6539;&#x73AF;&#x5883;&#x914D;&#x7F6E;&#x6587;&#x4EF6;&#xFF0C;&#x52A0;&#x5165;<code>EBOOK_PATH</code>&#xFF08;ebook-convert&#x547D;&#x4EE4;&#x7684;&#x6240;&#x5728;&#x76EE;&#x5F55;&#xFF09;</p>
<pre><code class="lang-bash">vim ~/.bash_profile 

<span class="hljs-built_in">export</span> EBOOK_PATH=/Applications/calibre.app/Contents/MacOS
<span class="hljs-built_in">export</span> PATH=<span class="hljs-variable">$PATH</span>:<span class="hljs-variable">$EBOOK_PATH</span>
</code></pre>
<p>&#x7136;&#x540E;&#x5237;&#x65B0;&#x4E00;&#x4E0B;&#x521A;&#x521A;&#x7684;&#x914D;&#x7F6E;:</p>
<pre><code class="lang-bash"><span class="hljs-built_in">source</span> ~/.bash_profile
</code></pre>
<p>&#x6700;&#x540E;&#x6D4B;&#x8BD5;&#x4E00;&#x4E0B;<code>ebook-convert</code>&#x6307;&#x4EE4;&#x662F;&#x5426;&#x80FD;&#x6B63;&#x5E38;&#x88AB;&#x8C03;&#x7528;&#xFF1A;</p>
<pre><code class="lang-bash">$ ebook-convert --version
ebook-convert (calibre 2.81.0)
Created by: Kovid Goyal &lt;kovid@kovidgoyal.net&gt;
</code></pre>
<p>&#x5927;&#x529F;&#x544A;&#x6210;&#xFF01;&#x4E0B;&#x9762;&#x5C31;&#x53EF;&#x4EE5;&#x4F7F;&#x7528;<code>gitbook pdf ./ ./mybook.pdf</code> &#x547D;&#x4EE4;&#x628A;&#x4F60;&#x7684;&#x9879;&#x76EE;&#x751F;&#x6210;pdf&#x6587;&#x6863;&#x4E86;&#xFF01;</p>
<h3 id="&#x5C01;&#x9762;">&#x5C01;&#x9762;</h3>
<p>&#x6240;&#x6709;&#x683C;&#x5F0F;&#x7535;&#x5B50;&#x4E66;&#x90FD;&#x53EF;&#x4EE5;&#x521B;&#x5EFA;&#x5C01;&#x9762;&#x3002;&#x5728;&#x5B89;&#x88C5;&#x5B8C;&#x53EF;&#x4EE5;&#x81EA;&#x5DF1;&#x63D0;&#x4F9B;&#x4E00;&#x4E2A;&#xFF0C;&#x6216;&#x4F7F;&#x7528;<a href="https://plugins.gitbook.com/plugin/autocover" target="_blank">autocover&#x63D2;&#x4EF6;</a>&#x751F;&#x6210;&#x4E00;&#x4E2A;&#x3002;</p>
<p>&#x8981;&#x521B;&#x5EFA;&#x5C01;&#x9762;&#xFF0C;&#x8BF7;&#x5728;&#x60A8;&#x7684;&#x4E66;&#x7684;&#x6839;&#x76EE;&#x5F55;&#x4E0B;&#x653E;&#x7F6E;&#x4E00;&#x4E2A; <strong><code>cover.jpg</code></strong> &#x6587;&#x4EF6;&#x3002;&#x8FD8;&#x53EF;&#x4EE5;&#x6DFB;&#x52A0; <strong><code>cover_small.jpg</code></strong> &#x6307;&#x5B9A;&#x4E00;&#x4E2A;&#x8F83;&#x5C0F;&#x7248;&#x672C;&#x7684;&#x5C01;&#x9762;&#x3002;&#x5C01;&#x9762;&#x56FE;&#x7247;&#x683C;&#x5F0F;&#x5FC5;&#x987B;&#x662F; <strong>JPEG</strong> &#x6587;&#x4EF6;&#x3002;</p>
<p>&#x4E00;&#x4E2A;&#x5408;&#x683C;&#x7684;&#x5C01;&#x9762;&#x5E94;&#x9075;&#x5B88;&#x4EE5;&#x4E0B;&#x51C6;&#x5219;&#xFF1A;</p>
<ul>
<li><code>cover.jpg</code>&#x7684;&#x5927;&#x5C0F;&#x4E3A;1800x2360&#x50CF;&#x7D20;&#xFF0C;<code>cover_small.jpg</code>&#x4E3A;200x262&#x50CF;&#x7D20;</li>
<li>&#x65E0;&#x8FB9;&#x6846;</li>
<li>&#x6E05;&#x6670;&#x53EF;&#x89C1;&#x7684;&#x4E66;&#x540D;</li>
<li>&#x4EFB;&#x4F55;&#x91CD;&#x8981;&#x7684;&#x6587;&#x672C;&#x5E94;&#x8BE5;&#x5728;&#x5C0F;&#x7248;&#x672C;&#x4E2D;&#x53EF;&#x89C1;</li>
</ul>
<h3 id="&#x751F;&#x6210;pdf">&#x751F;&#x6210;PDF</h3>
<p>&#x8FDB;&#x5165;&#x6587;&#x6863;&#x9879;&#x76EE;&#x76EE;&#x5F55;&#xFF0C;&#x8F93;&#x5165;<code>gitbook pdf ./ ./gitbook.pdf</code></p>
<pre><code>$ cd ~/gitbook-cn

$ gitbook pdf ./ ./gitbook.pdf
</code></pre><ul>
<li>pdf&#xFF1A; &#x8868;&#x793A;&#x751F;&#x6210;pdf&#x683C;&#x5F0F;&#xFF0C;&#x8FD8;&#x6709;epub&#x3001;mobi&#x53EF;&#x9009;</li>
<li>./ &#xFF1A; &#x8868;&#x793A;&#x9700;&#x8981;&#x751F;&#x6210;&#x4E66;&#x7C4D;&#x7684;&#x9879;&#x76EE;&#x6839;&#x76EE;&#x5F55;</li>
<li>./gitbook.pdf : &#x8868;&#x793A;&#x751F;&#x6210;&#x4E66;&#x7C4D;&#x7684;&#x540D;&#x79F0;</li>
<li>&#x5982;&#x679C;&#x4F60;&#x7684;&#x4E66;&#x7C4D;&#x6709;&#x591A;&#x79CD;&#x8BED;&#x8A00;&#xFF0C;&#x5C31;&#x4F1A;&#x751F;&#x6210;&#x591A;&#x672C;&#x4E66;&#x7C4D;&#xFF0C;&#x4E66;&#x7C4D;&#x7684;&#x540D;&#x79F0;&#x4F1A;&#x4EE5;&#x8BED;&#x8A00;&#x7ED3;&#x5C3E;</li>
</ul>
<pre><code class="lang-html">&#x4F5C;&#x8005;: &#x96EA;&#x4E4B;&#x68A6;&#x6280;&#x672F;&#x9A7F;&#x7AD9;
&#x94FE;&#x63A5;: https://snowdreams1006.github.io/gitbook-official/zh/ebook.html
&#x6765;&#x6E90;: &#x96EA;&#x4E4B;&#x68A6;&#x6280;&#x672F;&#x9A7F;&#x7AD9;
&#x672C;&#x6587;&#x539F;&#x521B;&#x53D1;&#x5E03;&#x4E8E;&#x300C;&#x96EA;&#x4E4B;&#x68A6;&#x6280;&#x672F;&#x9A7F;&#x7AD9;&#x300D;,&#x8F6C;&#x8F7D;&#x8BF7;&#x6CE8;&#x660E;&#x51FA;&#x5904;,&#x8C22;&#x8C22;&#x5408;&#x4F5C;!
</code></pre>
<p><img src="https://snowdreams1006.github.io/snowdreams1006-wechat-open.png" alt="https://snowdreams1006.github.io/snowdreams1006-wechat-open.png"></p>
<div id="gitalk-container"></div>
</div>

                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="syntax/asciidoc.html" class="navigation navigation-prev " aria-label="Previous page: AsciiDoc语法">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="templating/" class="navigation navigation-next " aria-label="Next page: 模板">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"生成电子书和PDF","level":"2.8","depth":1,"next":{"title":"模板","level":"3.1","depth":1,"path":"templating/README.md","ref":"templating/README.md","articles":[{"title":"内容引用","level":"3.1.1","depth":2,"path":"templating/conrefs.md","ref":"templating/conrefs.md","articles":[]},{"title":"变量","level":"3.1.2","depth":2,"path":"templating/variables.md","ref":"templating/variables.md","articles":[]},{"title":"Builtin模板助手","level":"3.1.3","depth":2,"path":"templating/builtin.md","ref":"templating/builtin.md","articles":[]}]},"previous":{"title":"AsciiDoc语法","level":"2.7","depth":1,"path":"syntax/asciidoc.md","ref":"syntax/asciidoc.md","articles":[]},"dir":"ltr"},"config":{"plugins":["favicon-absolute","github-buttons","edit-link-plus","openwrite","copyright","mygitalk","multilingual-index"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"copyright":{"site":"https://snowdreams1006.github.io/gitbook-official","author":{"en":"snowdreams1006","zh":"雪之梦技术驿站"},"website":{"en":"snowdreams1006's Gitbook","zh":"雪之梦技术驿站"},"image":{"en":"https://snowdreams1006.github.io/snowdreams1006-wechat-open.png","zh":"https://snowdreams1006.github.io/snowdreams1006-wechat-open.png"}},"search":{},"edit-link-plus":{"label":{"en":"Edit This Page","zh":"编辑本页"},"base":{"snowdreams1006.github.io":"https://github.com/snowdreams1006/gitbook-official/edit/master","snowdreams1006.gitlab.io":"https://gitlab.com/snowdreams1006/gitbook-official/edit/master","snowdreams1006.gitee.io":"https://gitee.com/snowdreams1006/gitbook-official/edit/master"},"defaultBase":"https://github.com/snowdreams1006/gitbook-official/edit/master"},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"favicon-absolute":{"appleTouchIconMore":{"120x120":"/apple-touch-icon-120.png","180x180":"/apple-touch-icon-180.png"},"appleTouchIconPrecomposed152":"/apple-touch-icon-precomposed-152.png","appleTouchIconPrecomposedMore":{"120x120":"/apple-touch-icon-precomposed-120.png","180x180":"/apple-touch-icon-precomposed-180.png"},"favicon":"/favicon.ico","bookmark":"/bookmark.ico","appleTouchIcon152":"/apple-touch-icon-152.png"},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"openwrite":{"blogId":"15702-1569305559839-744","name":"雪之梦技术驿站","qrcode":"https://snowdreams1006.github.io/snowdreams1006-wechat-public.jpeg","keyword":"vip"},"multilingual-index":{"enableSuper":false,"index":"index.html"},"github-buttons":{"buttons":[{"user":"snowdreams1006","repo":"gitbook-official","type":"star","size":"small"}]},"mygitalk":{"flipMoveOptions":{},"clientID":"3f62415a283d19cbd696","number":-1,"perPage":10,"proxy":"https://cors-anywhere.herokuapp.com/https://github.com/login/oauth/access_token","admin":["snowdreams1006"],"createIssueManually":false,"distractionFreeMode":false,"repo":"gitbook-official","owner":"snowdreams1006","enableHotKey":true,"clientSecret":"aed0e1db0620bf5d0e3a3f0225f801997ad74e58","pagerDirection":"last","labels":["Gitalk"]},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","author":"snowdreams1006","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"gitbook-official","language":"zh","links":{"sidebar":{"blog":"https://snowdreams1006.tech/"}},"gitbook":"*","description":"gitbook document"},"file":{"path":"ebook.md","mtime":"2019-12-09T09:21:34.897Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-12-10T00:16:34.934Z"},"basePath":".","book":{"language":"zh"}});
        });
    </script>
</div>

        

    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-github-buttons/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-edit-link-plus/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-copyright/copyright.js"></script>
        
    
        
        <script src="https://cdn.bootcss.com/blueimp-md5/2.12.0/js/md5.min.js"></script>
        
    
        
        <script src="https://unpkg.com/gitalk/dist/gitalk.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-mygitalk/mygitalk.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

<script src="https://my.openwrite.cn/js/readmore.js" type="text/javascript"></script>
<script>
var isMobile = navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i);
if (!isMobile) {
    var btw = new BTWPlugin();
    btw.init({
        "id": "vip-container",
        "blogId": "15702-1569305559839-744",
        "name": "雪之梦技术驿站",
        "qrcode": "https://snowdreams1006.github.io/snowdreams1006-wechat-public.jpeg",
        "keyword": "vip"
    });
}
</script>

    </body>
</html>

